package com.qr.bean.wmyh;

import java.sql.Timestamp;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 13:03:14
 * 分离出查询实体
 */
@ApiModel(value = "jbr_user_grade", description = "会员等级")
@TableName(value = "jbr_user_grade")
public class JbrUserGradeView implements Serializable {
	@ApiModelProperty(value = "编号")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "编号不能为空")
	private Integer id;
	@ApiModelProperty(value = "等级名称")
	@TableField(value="grade_title")
	private String grade_title;
	@ApiModelProperty(value = "购买价格")
	@TableField(value="buy_price")
	private Integer buy_price;
	@ApiModelProperty(value = "有效时长N天")
	@TableField(value="available_day")
	private Integer available_day;
	@ApiModelProperty(value = "图标")
	@TableField(value="icon_url")
	private String icon_url;
	@ApiModelProperty(value = "排序")
	@TableField(value="ordernum")
	private Integer ordernum;
	@ApiModelProperty(value = "会员等级标签")
	@TableField(value="tag")
	private String tag;
	@ApiModelProperty(value = "1正常 0禁用")
	@TableField(value="isok")
	private Integer isok;
	@ApiModelProperty(value = "添加时间")
	@TableField(value="addtime")
	private Timestamp addtime;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public String getGrade_title() {
		return grade_title;
	}
	public void setGrade_title(String grade_title) {
		this.grade_title = grade_title;
	}
 
	public Integer getBuy_price() {
		return buy_price;
	}
	public void setBuy_price(Integer buy_price) {
		this.buy_price = buy_price;
	}
 
	public Integer getAvailable_day() {
		return available_day;
	}
	public void setAvailable_day(Integer available_day) {
		this.available_day = available_day;
	}
 
	public String getIcon_url() {
		return icon_url;
	}
	public void setIcon_url(String icon_url) {
		this.icon_url = icon_url;
	}
 
	public Integer getOrdernum() {
		return ordernum;
	}
	public void setOrdernum(Integer ordernum) {
		this.ordernum = ordernum;
	}
 
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
 
	public Integer getIsok() {
		return isok;
	}
	public void setIsok(Integer isok) {
		this.isok = isok;
	}
 
	public Timestamp getAddtime() {
		return addtime;
	}
	public void setAddtime(Timestamp addtime) {
		this.addtime = addtime;
	}

}